package dancrawler.client;

import dancrawler.server.GameObject;
import dancrawler.server.GameObjectRegister;
import dancrawler.server.Gameworld;
import dancrawler.server.Move;
import dancrawler.server.Tile;
import java.util.List;

/**
 *
 */
public class GameworldMoveMock implements Gameworld{
    private int x = 0, y = 0;
    private int unknown = 0;
    @Override
    public Tile getTile(int x, int y) {
        throw new UnsupportedOperationException("Not supported.");
    }

    @Override
    public int getFocusX() {
        return x;
    }

    @Override
    public int getFocusY() {
        return y;
    }

    @Override
    public void move(int direction) {
        switch(direction)
        {
            case Gameworld.NORTH:
                y--;
                break;
            case Gameworld.SOUTH:
                y++;
                break;
            case Gameworld.EAST:
                x++;
                break;
            case Gameworld.WEST:
                x--;
                break;
            default:
                break;
        }

    }

    public int getUnkown()
    {
        return unknown;
    }

    @Override
    public void addGameListener(GameListener gli) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void move(GameObject obj, int direction) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

  @Override
  public boolean move(GameObject obj, int direction) {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public List<Move> getTileUpdates() {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public void clearUpdates() {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public int getMapHeight() {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public int getMapWidth() {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public GameObjectRegister getObjectRegister() {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public void removeObject(GameObject obj) {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  @Override
  public boolean move(GameObject obj, int direction) {
    throw new UnsupportedOperationException("Not supported yet.");
  }
}
